package com.jijs.guava.collect;

import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Sets;

import java.util.Set;

/**
 * Created by jjs on 2016/12/28.
 */
public class SetDemo {

    /**
     * 创建Set集合及初始化示例
     */
    public static void test1() {
        Set<String> set = Sets.newHashSet();
        Set<String> set2 = Sets.newHashSet("one", "two", "three");
    }

    public static void test2() {
        ImmutableMap.of();
    }

    public static void test3() {

    }

    public static void test4() {

    }

    public static void test5() {

    }

    public static void test6() {

    }

    public static void main(String[] args) {

    }
}
